package cn.iocoder.yudao.module.shop.convert.refundcardrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.refundcardrecord.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.refundcardrecord.ShopRefundCardRecordDO;

/**
 * 退卡记录 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopRefundCardRecordConvert {

    ShopRefundCardRecordConvert INSTANCE = Mappers.getMapper(ShopRefundCardRecordConvert.class);

    ShopRefundCardRecordDO convert(ShopRefundCardRecordCreateReqVO bean);

    ShopRefundCardRecordDO convert(ShopRefundCardRecordUpdateReqVO bean);

    ShopRefundCardRecordRespVO convert(ShopRefundCardRecordDO bean);

    List<ShopRefundCardRecordRespVO> convertList(List<ShopRefundCardRecordDO> list);

    PageResult<ShopRefundCardRecordRespVO> convertPage(PageResult<ShopRefundCardRecordDO> page);

    List<ShopRefundCardRecordExcelVO> convertList02(List<ShopRefundCardRecordDO> list);

}
